package sifApp.SifAppEntity;

public class Photos {
	String id,myAccountId, fromid,fromName, picture, source, link, icon;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMyAccountId() {
		return myAccountId;
	}

	public void setMyAccountId(String myAccountId) {
		this.myAccountId = myAccountId;
	}

	public String getFromid() {
		return fromid;
	}

	public void setFromid(String fromid) {
		this.fromid = fromid;
	}

	public String getFromName() {
		return fromName;
	}

	public void setFromName(String fromName) {
		this.fromName = fromName;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Photos() {
		super();
		// TODO Auto-generated constructor stub
	}


	public Photos(String id, String myAccountId, String fromid,
			String fromName, String picture, String source, String link,
			String icon) {
		super();
		this.id = id;
		this.myAccountId = myAccountId;
		this.fromid = fromid;
		this.fromName = fromName;
		this.picture = picture;
		this.source = source;
		this.link = link;
		this.icon = icon;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Photos other = (Photos) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	
	
}
